package com.ruoyi.system.service.impl;

import java.util.Collection;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.constant.CacheConstants;
import com.ruoyi.common.constant.UserConstants;
import com.ruoyi.common.core.domain.entity.BuDoc;
import com.ruoyi.common.core.redis.RedisCache;
import com.ruoyi.common.core.text.Convert;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.common.exception.ServiceException;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.SysConfig;
import com.ruoyi.system.mapper.BuDocMapper;
import com.ruoyi.system.mapper.SysConfigMapper;
import com.ruoyi.system.service.BuDocService;
import com.ruoyi.system.service.ISysConfigService;

/**
 * 文档 服务层实现
 * 
 * @author xxd
 */
@Service
public class BuDocServiceImpl implements BuDocService
{
    @Autowired
    private BuDocMapper buDocMapper;
    
    /**
     * 获取文档的信息
     * 
     * @return docVO
     */
    public BuDoc findDocByName(String qaName) {
    	BuDoc buDoc= buDocMapper.findDocByName(qaName);
         return buDoc;
    }
 
}
